<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <title>购物车</title>

    <link href="__PUBLIC__/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="__PUBLIC__/basic/css/demo.css">
    <link rel="stylesheet" href="__PUBLIC__/css/index.css">
    <style>
        .btn_shop {
            border: 1px solid #D6D6D6;
            background: #FFFFFF;
            line-height: 16px;
            font-size: 14px;
            color: #787878;
            width: 30px;
            height: 18px;
            text-align: center;
            vertical-align: middle;
            display: inline-block;
            margin-top: -5px;
        }

        .am-navbar-default .am-navbar-nav {
            border-top: 1px solid #E9E9E9;
            background-color: #FFFFFF;
        }

        .am-navbar-default a {
            color: #777;
        }

        .cheap{
        background: #FFF8D8;line-height: 25px
        }
        .cheap span {
        font-size: 13px;color: #F48F19;
        }
        .title{
        position: absolute;top: 0px;color: #2C2D2F;font-size:11px;height: 40px;line-height: 20px;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;letter-spacing: 0;
        }
        .map{
        color: #787878;font-size: 9px;position: absolute;top: 45px;left: 95px;
        }

        .imfor{
            position: relative;
        }
        .pudc{
            position: relative
        }
        .money{
            font-size: 14px;color: red;position: absolute;top: 70px;left: 90px;
        }
        .del{
            position: absolute;top: 48px;
        }
    </style>
    <style>
        .shopbox{
            position:fixed;bottom:50px;height: 45px;background-color: #FFFFFF;line-height: 45px;
        }
        .select{
            padding: 0 0 0 5px;
        }
        .select span{
            font-size: 11px;vertical-align: middle;color: #787878;
        }
        .totol{
            font-size: 11px;color: #787878;margin-left: 5px;
        }
        .totol span{
            font-size: 15px;color: #FF0000;
        }
        .goset{
            background-color: #FFAD01;font-size: 18px;color: #fff;text-align: center;display: inline-block;width: 100%;
        }
    </style>
    <style>
        .am-modal-no-btn .am-modal-dialog{
            border-radius: 10px;
        }
        .am-modal-hd{
            font-size: 18px;
            font-weight: bold;
        }

        .am-modal-bd .modal-content{
            line-height: 20px;
            display: inline-block;
            font-size: 14px;
            letter-spacing: 1px;
        }
        .off-btn{
            display: inline-block;
            font-size: 16px;
            margin: 10px auto;
            border: 1px solid #D8D8D8;
            color: #666666;
            width: 100px;
            height: 30px;
            line-height: 28px;
            margin-right: 20px;
        }
        .on-btn{
            display: inline-block;
            width: 100px;
            font-size: 16px;
            margin: 10px auto;
            border: 1px solid #FFAD01;
            color: #FFFFFF;
            background: #FFAD01;
            height: 30px;
            line-height: 28px;
        }
    </style>
</head>

<body class="bg-default">
<header data-am-widget="header" class="am-header am-header-default am-header-fixed">
    <h1 class="am-header-title">
        <a href="#title-link" class="">
            购物车
        </a>
    </h1>
</header>

<!--有商品时-->
<div class="am-g">
    <div class="am-u-sm-12 cheap">
        <span>优惠######</span>
    </div>
</div>

<div class="am-g bg-white">
    <div class="am-u-sm-12 am-padding-vertical-xs imfor">
        <label class="am-u-sm-1  am-checkbox am-warning check am-padding-0">
            <input type="checkbox" class="Each am-checkbox am-secondary" data-am-ucheck checked/>
        </label>
        <div class="pudc am-u-sm-11 am-padding-0">
            <img src="__PUBLIC__/new_images/active3.png"  width="80" height="70"/>
            <span class="title">【手工先考】 吉顺号 云南玫瑰滑冰紫薯味 画情不想为不腻 画情不想为不腻 画情不想为不腻 画情不想为不腻</span>
            <span class="map">云南 昆明</span>
            <span class="money">￥599.2</span>
        </div>
        <!--单价隐藏，填入到上面位置-->
        <div class="pices" hidden>599.2</div>
        <!--商品数量-->
        <div class="num am-fr"><span class="reduc btn_shop">-</span><input class="btn_shop" type="text" value="1"/><span
                class="add btn_shop">+</span></div>
        <!--单减商品合计-->
        <div class="totle" hidden>599.2</div>
        <div class="del"  ><i class="am-icon-trash am-icon-sm" style="color: #FF0000;"></i></div>
    </div>
    <div class="am-u-sm-12 am-padding-vertical-xs imfor">
        <label class="am-u-sm-1  am-checkbox am-warning check am-padding-0">
            <input type="checkbox" class="Each am-checkbox am-secondary" data-am-ucheck checked/>
        </label>
        <div class="pudc am-u-sm-11 am-padding-0">
            <img src="__PUBLIC__/new_images/active3.png"  width="80" height="70"/>
            <span class="title">【手工先考】 吉顺号 云南玫瑰滑冰紫薯味 画情不想为不腻 画情不想为不腻 画情不想为不腻 画情不想为不腻</span>
            <span class="map">云南 昆明</span>
            <span class="money">￥599.0</span>
        </div>
        <!--单价隐藏，填入到上面位置-->
        <div class="pices" hidden>599.0</div>
        <!--商品数量-->
        <div class="num am-fr"><span class="reduc btn_shop">-</span><input class="btn_shop" type="text" value="1"/><span
                class="add btn_shop">+</span></div>
        <!--单减商品合计-->
        <div class="totle" hidden>599.0</div>
        <div class="del"  ><i class="am-icon-trash am-icon-sm" style="color: #FF0000;"></i></div>
    </div>
    <div class="am-u-sm-12 am-padding-vertical-xs imfor">
        <label class="am-u-sm-1  am-checkbox am-warning check am-padding-0">
            <input type="checkbox" class="Each am-checkbox am-secondary" data-am-ucheck checked/>
        </label>
        <div class="pudc am-u-sm-11 am-padding-0">
            <img src="__PUBLIC__/new_images/active3.png"  width="80" height="70"/>
            <span class="title">【手工先考】 吉顺号 云南玫瑰滑冰紫薯味 画情不想为不腻 画情不想为不腻 画情不想为不腻 画情不想为不腻</span>
            <span class="map">云南 昆明</span>
            <span class="money">￥599.0</span>
        </div>
        <!--单价隐藏，填入到上面位置-->
        <div class="pices" hidden>599.0</div>
        <!--商品数量-->
        <div class="num am-fr"><span class="reduc btn_shop">-</span><input class="btn_shop" type="text" value="1"/><span
                class="add btn_shop">+</span></div>
        <!--单减商品合计-->
        <div class="totle" hidden>599.0</div>
        <div class="del"  ><i class="am-icon-trash am-icon-sm" style="color: #FF0000;"></i></div>
    </div>

</div>
<div class="am-g shopbox">
    <div class="am-u-sm-3 select" style=""><img src="__PUBLIC__/new_images/yes.png" width="24" alt=""><span style="margin-left: 5px;">已选(<span id="num">0</span>) </span>
    </div>
    <div class="am-u-sm-5 am-text-right am-padding-left-0"><span class="totol">合计:<span
    >￥<span id="susum" style="overflow: hidden;">0</span></span></span></div>
    <div class="am-u-sm-4 am-padding-0"><a href="#" class="goset" data-am-modal="{target: '#doc-modal-1', closeViaDimmer: 0, width: 280, height: 140}">结算</a>
    </div>
</div>

<!--无商品时-->
<!--<div class="am-g am-text-center">-->
    <!--<img src="__PUBLIC__/new_images/big_shopcart.png" alt="" style="margin-top: 65px;">-->
    <!--<span style="font-size: 18px;color: #BFBFBF;display: block;margin-top: 30px;letter-spacing: 2px;">~去添加点什么吧</span>-->
<!--</div>-->


<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default" id="">
    <ul class="am-navbar-nav am-cf am-avg-sm-4">
        <li>
            <a href="#">
                <img src="__PUBLIC__/new_images/home.png" alt="home"><span>首页</span>
            </a>
        </li>
        <li>
            <a href="#">
                <img src="__PUBLIC__/new_images/class.png" alt="class"><span>分类</span>
            </a>
        </li>
        <li>
            <a href="#">
                <img src="__PUBLIC__/new_images/shopcart.png" alt="home"><span>购物车</span>
            </a>
        </li>
        <li>
            <a href="#">
                <img src="__PUBLIC__/new_images/user_no.png" alt="home"><span>我的</span>
            </a>
        </li>
    </ul>
</div>

<!--弹出框-->
<div class="am-modal am-modal-no-btn" tabindex="-1" id="doc-modal-1">
    <div class="am-modal-dialog">
        <div class="am-modal-hd">标题
            <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
        </div>
        <div class="am-modal-bd">
            <div class="am-u-sm-12 am-text-left">
                <span class="modal-content">文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字</span>
            </div>
            <div class="am-u-sm-12">
                <a href="javascript: void(0)" data-am-modal-close><span class="off-btn">不在厦门</span></a>
                <a href="10.pay.html"><span class="on-btn">在厦门</span></a>
            </div>
        </div>
    </div>
</div>
</body>
<script src="__PUBLIC__/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
<script src="__PUBLIC__/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
<script src="__PUBLIC__/js/shopcart.js"></script>
<script>
    $(function () {
        var w = document.body.clientWidth/12*11-110;
         $('.title').css('width',w);
          $('.title').css('left',90);
    });
</script>
</html>